       <?php echo form_open_multipart('admin/contact/update/'.$result[0]['cont_id']); ?>	<!-- start title -->
		<div class="title corners_top" style="float:left;width:200px;"><h6 style="color:#900;" id="forms"><?php echo $title; ?></h6></div><!-- end title -->
        		<div class="proccess_bar">
                
         

    <ul class="menu_bar">
    <li><?php
	$row = $result[0];
	$data = array('name' => 'update', 'value' => ' ','class'=>'delete-1', 'id' => 'save');
	 echo form_submit($data);?> <!--<a href="#" ><span class="save-1"> </span>Save</a> -->
     Lưu
     </li>
	
     <li> <?php 
	 $data = array('name' => 'close', 'value' => ' ','class'=>'delete-1', 'id' => 'cancel');
	 
	 echo form_submit($data); ?>
     Hủy<!--<a href="#" ><span class="cancel-1"></span>Cancel</a>--></li>
    
    </ul>
    
    
 

 </div>
		<div class="content">
        
        
           
        <?php // echo '<p class="title">'.$this->lang->line('title_user_info').'</p>';
 if(isset($missing) && is_array($missing) )
   {
  
   echo ' <div><a href="javascript:();" title="Succes box" class="box error corners"><span class="close">&nbsp;</span>';
   foreach($missing as $item)
   {
   		echo $item."<br />";
   }
   echo "</a></div>";
   }
   
   


 $code = 'cont_name';

  $label ='Họ tên';

	//echo '<div class="" style="padding-left:67px;">';

	

		echo '<h6>',form_label($label),'</h6>';

	$data = array('name' =>$code,'class'=>'large_input corners', 'readonly'=>"readonly", 'value' => $row[$code]);
	
	echo '<p>';
		if (! empty($missing) && array_key_exists($code, $missing))

		 echo form_input($data, set_value($code)),'<span class="info_error">error</span>';

	else
	  echo form_input($data, set_value($code));
	
	echo '</p>';
	
	
	  $code = 'cont_email';
	  
$label = "Email";
	//echo '<div class="" style="padding-left:67px;">';


		echo '<h6>',form_label($label),'</h6>';

	$data = array('name' =>$code,'class'=>'large_input corners', 'readonly'=>"readonly", 'value' => $row[$code]);
	
	echo '<p>';
		if (! empty($missing) && array_key_exists($code, $missing))

		 echo form_input($data, set_value($code)),'<span class="info_error">error</span>';

	else
	
	  echo form_input($data, set_value($code));
	
	echo '</p>';
	
	
	
	$code = 'cont_phone';

  $label ='Số điện thoại';

	//echo '<div class="" style="padding-left:67px;">';



		echo '<h6>',form_label($label),'</h6>';

	$data = array('name' =>$code,'class'=>'large_input corners','readonly'=>"readonly",  'value' =>$row[$code]);
	
	echo '<p>';
		if (! empty($missing) && array_key_exists($code, $missing))

		 echo form_input($data, set_value($code)),'<span class="info_error">error</span>';

	else
	
	  echo form_input($data, set_value($code));
	
	echo '</p>';
	
	
	
  $code = 'cont_content';

  $label = 'Nội dung';

	//echo '<div class="" style="padding-left:67px;">';



		echo '<h6>',form_label($label),'</h6>';

	$data = array('name' =>$code,'class'=>'large_input corners', 'readonly'=>"readonly", 'value' => $row[$code]);
	
	echo '<p>';
		if (! empty($missing) && array_key_exists($code, $missing))

		 echo form_input($data, set_value($code)),'<span class="info_error">error</span>';

	else	
	  echo form_textarea($data, set_value($code));
	
	echo '</p>';
	
		
  $code = 'cont_reply';

  $label = 'Trả  lời'.' <font color="red" style="font-weight:bold">(*)</font>';

	//echo '<div class="" style="padding-left:67px;">';



		echo '<h6>',form_label($label),'</h6>';

	$data = array('name' =>$code,'class'=>'large_input corners',  'value' => $row[$code]);
	
	echo '<p>';
		if (! empty($missing) && array_key_exists($code, $missing))

		 echo form_input($data, set_value($code)),'<span class="info_error">error</span>';

	else	
	  echo form_textarea($data, set_value($code));
	
	echo '</p>';
	
	

	echo form_close(); //FORM END

	
	
	?> 
        
        
     